<?php if (!defined('THINK_PATH')) exit(); echo '<?'; ?>
xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <title>搜索结果</title>
</head>
<body>
    <h2>共<?php echo ($count); ?>条搜索结果，用时<?php echo ($time); ?>秒。</h2>
    
    <?php if(is_array($result)): foreach($result as $key=>$book): ?><p>分类：<?php echo ($book["book_type"]); ?></p>
        <p>小说：<a href='<?php echo ($book["book_url"]); ?>'><?php echo ($book["book_name"]); ?></a></p>
        <p><img src="<?php echo ($book["book_picture"]); ?>"/></p>
        <p>作者：<?php echo ($book["book_auther"]); ?></p>
        <p>介绍：<?php echo ($book["book_introduction"]); ?></p>
        <br/><?php endforeach; endif; ?>
    
   <div><?php echo ($page); ?></div>
</body>
</html>